package com.dhc.appbusinessfrm.network;


import retrofit.ErrorHandler;
import retrofit.RetrofitError;
import retrofit.client.Response;

/**
 * Created by danlu on 2015/5/20.
 */
public class BaseErrorHandler implements ErrorHandler {

    @Override
    public Throwable handleError(RetrofitError cause) {
        Response r = cause.getResponse();
        if (r != null && r.getStatus() == 401) {

        }
        return cause;
    }
}
